package com.wrupple.muba.catalogs.client.widgets.editors;

import com.google.gwt.editor.client.LeafValueEditor;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.IsWidget;
import com.wrupple.muba.catalogs.client.activity.process.task.CatalogInteractionState.Mode;

public interface CatalogEditor<V> extends LeafValueEditor<V>,HasValueChangeHandlers<V>, IsWidget {
	public void reset();
	
	void initialize(String catalog,Mode mode,EventBus bus);
	
	Mode getMode();
	
	String getCatalogId();
	
}
